export * from './echarts'

export interface PieData {
  name: string
  value: number
}

export interface IGraphSetConfig {
  s: number
  e: number | null
}

export interface FaultCustomerData {
  faultCustomerVO: FaultOverview
  distributionVOList: FaultDistribution[]
}

export interface FaultOverview {
  dateString: string
  // 环比增长
  momRatio: string
  // 同比增长
  yoyBasis: string
  dateCount: number
  currentRate: string
  finalCustomerCount: number
  customerRate: string
  avgCustomerFault: string
  minFaultCount: number
  maxFaultCount: number
}

export interface FaultDistribution {
  dateString: string
  momRatio: string
  yoyBasis: string
  dateCount: number
  customerName: string
  totalFault: number
  avgLineFault: string
  faultLineCount: number
  totalLines: number
  lineRate: string
  startMonth: number
  duringMonth: number
}
